local xushidaifa = fk.CreateSkill {
  name = "cf_firemode_xushidaifa",
  tags = { Skill.Compulsory }
}

xushidaifa:addEffect(fk.DamageCaused, {
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(self) and player:getMark(self.name .. "-turn") == 0 and data.card
        and data.card.trueName == "slash"
  end,
  on_cost = Util.TrueFunc,
  on_use = function(self, event, target, player, data)
    data.damage = data.damage + 1
    player.room:addPlayerMark(player, self.name .. "-turn", 1)
  end,
})

Fk:loadTranslationTable {
  ["cf_firemode_xushidaifa"] = "蓄势待发",
  [":cf_firemode_xushidaifa"] = "锁定技，你每回合杀造成的第一次伤害+1。",
}

return xushidaifa
